// stores/userInfo.ts
import { defineStore } from 'pinia'

export const useUserInfoStore = defineStore('userInfo', {
  state: () => ({
    cell: '',
    name: '',
    idNumber: '',
  }),
  actions: {
    setUserInfo(cell: string, name: string, idNumber: string) {
      this.cell = cell
      this.name = name
      this.idNumber = idNumber
    },
  },
})
